package com.zcckj.demo.app.client;

import com.zcckj.demo.pay.model.dto.ReduceBalanceDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 *
 * <p>
 *  TODO 类作用描述
 * </p>
 *
 * @author zhangjie
 * @since 2019-08-28
 */
@FeignClient(name = "pay-feign-service")
public interface PayClient {
    @PostMapping("/pay/reduce")
    Boolean reduceBalance(ReduceBalanceDTO reduceBalanceDTO);
}
